import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { DicComponent } from './dic/dic.component';
import { FarmComponent } from './farm/farm.component';
import { BasicComponent } from './basic.component';
import { TurbstatusComponent } from './turbstatus/turbstatus.component';
import { PhaseComponent } from './phase/phase.component';

import { TagComponent } from './tag/tag.component';
import { DeviceComponent } from './device/device.component';
import { CircuitComponent } from './circuit/circuit.component';
import { StausExperComponent } from './staus-exper/staus-exper.component';

import { ModelComponent } from './model/model.component';
import { FaultLevelConfigComponent } from './fault-level-config/fault-level-config.component';
import { TurboperCategoryComponent } from './turboper-category/turboper-category.component';

import { FactoryComponent } from './factory/factory.component';
import { CompanyComponent } from './company/company.component';
import { ModelParamComponent } from './model-param/model-param.component';
const routes: Routes = [
  {
    path: '',
    component: BasicComponent,
    children: [
      { path: 'dic', component: DicComponent },
      { path: 'farm', component: FarmComponent },
      { path: 'turbstatus', component: TurbstatusComponent },
      { path: 'turbine', component: DeviceComponent },
      { path: 'tag', component: TagComponent },
      { path: 'phase', component: PhaseComponent },
      { path: 'circuit', component: CircuitComponent },
      // { path: 'stausexper', component:StausExperComponent },
      { path: 'user', component: CompanyComponent },
      { path: 'model', component: ModelComponent },
      { path: 'levelconfig', component: FaultLevelConfigComponent },
      { path: 'factory', component: FactoryComponent },
      { path: 'turboperCategory', component: TurboperCategoryComponent },
      { path: 'modelparam', component: ModelParamComponent }
      // { path: 'halt', component:ModelParamComponent },
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class BasicRoutingModule {}



// WEBPACK FOOTER //
// ./src/app/module/basic/basic-routing.module.ts